<include file="Public:header" />

<div class="tools"> 
	<div class="add"><span><a href="{:U('System/edittou_jieguo')}">添加</a></span></div>
</div>
<div class="content">
<!-----------------------------------------内容开始--------------------------------------------------->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tabBox">
<tr class="tabTitleMain">
    <td width="5%" class="selectAll"><a href="javascript:;" id="selall">全选</a></td>
    <td width="5%">ID号</td>
    <td width="60%">投票主题</td>
    <td width="16%">操作</td>
</tr>


<volist name='list' id='l'>
	<tr class="tabTextMain" id="From_1" style="background:#ccc;">
		<td><input type="checkbox" name="ids" id="ids" value="{$l.id}"></td>
		<td>{$l.id}</td>
		<td align="center">{$l.name|stripslashes}</td>
		<td>
			<a href="{:U('System/daochutou_jieguo',array(id=>$l[id]))}" target="_blank">导出excel</a>
		</td>
	</tr>
	<volist name='l.toushi' id='toushi'>
		<tr class="tabTextMain" id="From_1" onmouseout="this.style.background='#FFFFFF';" onmouseover="this.style.background='#fbf435';">
			<td rowspan="2"><input type="checkbox" name="toushiids" id="toushiids" value="{$toushi.id}"></td>
			<td rowspan="2">{$toushi.id}</td>
			<td>{$toushi.name|stripslashes}</td>
			<td rowspan="2">
				<a href="{:U('System/edittou_jieguo',array(id=>$toushi[id]))}">修改</a>
			</td>
		</tr>
		<tr class="tabTextMain" id="From_1" onmouseout="this.style.background='#FFFFFF';" onmouseover="this.style.background='#fbf435';">
			<td>
				<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tabBox">
					<tr>
						<volist name="toushi.touxuan_all" id="touxuan_all">
							<td>{$touxuan_all.name}</td>
							<td>{$touxuan_all.num}</td>
						</volist>	
						<volist name="toushi.touxuan_dan" id="touxuan_dan">
							<td>{$touxuan_dan.name}</td>
							<td>{$touxuan_dan.num}</td>
						</volist>	
					</tr>
				</table>
			</td>
		</tr>
	</volist>
</volist>
  
</table> 
<div class="page">{$page}</div>
<!-----------------------------------------内容结束--------------------------------------------------->
</div>

<script type="text/javascript" src="__JS__/admin_common.js"></script>

<include file="Public:footer" />
